home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / minix / libsrc~1.z / libsrc~1 / wait.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-12-28  |  196 b   |  11 lines

  1. #include "lib.h"
  2.  
  3. PUBLIC int wait(status)
  4. int *status;
  5. {
  6.   int k;
  7.   k = callm1(MM, WAIT, 0, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR);
  8.   if (k >= 0 && status != (int *)0) *status = M.m2_i1;
  9.   return(k);
  10. }
  11.